#ifndef REGSYS_H
#define REGSYS_H

#include <QWidget>
#include<QJsonArray>
#include<QJsonDocument>
#include<QJsonObject>
#include<QFile>

namespace Ui {
class regSys;
}

class regSys : public QWidget
{
    Q_OBJECT

public:
    explicit regSys(QWidget *parent = nullptr);
    ~regSys();
    QString strToMd5(QString str);

signals:


private slots:
    void on_BtnEntrance_clicked();

    void on_BtnCancer_clicked();

private:
    Ui::regSys *ui;

    int num, sumNum;

    QFile filenew;
    QJsonArray array_people;

    void newMan();
};

#endif // REGSYS_H
